package demo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Set;

@FeignClient(value = "product-server",path = "product")
public interface Api {
    @RequestMapping("o4")
    String productId(@RequestParam("msg") String msg);

    @RequestMapping("o5")
    String productId2(@RequestParam("l2") List<String> list2, @RequestBody Set<Integer> set);

}
